package com.tsunami.authority.dto.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author lx
 * @date 2022/12/21 10:21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@Schema(description = "应用角色")
public class AppRoleSaveDTO implements Serializable {
    /**
     * 租户号
     */
    @Schema(name = "租户号")
    private Long tenantId;
    /**
     * 应用角色
     */
    @Schema(name = "应用角色")
    private String appRole;
    /**
     * 角色编码
     */
    @Schema(name = "角色编码")
    private String roleCode;
    /**
     * 系统角色
     */
    @Schema(name = "系统角色")
    private Long roleId;
    /**
     * 应用编码
     */
    @Schema(name = "应用编码")
    private String appCode;
    /**
     * 角色类型
     */
    @Schema(name = "角色类型", description = "00:系统角色，01：自定义角色")
    private String type;
}
